SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4815cdd612ad444a882aee97e9f279c5d348050e53a7d0d96668f6c599ad9cb' 
  AND token = 'EKS32bSd+YxppN4oOodlh/tYz46sk9a7hUGP8jlBr78=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}