SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8170c748b552b0feb476ce687d96d6c325ccdbc3940272164d697ba7400fb50b' 
  AND token = 'e3Qq7ODXPyV4g8Fq4ZtA2GhkMp7FvnY4lOyy5vokl+s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}