SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a51368f4ba977e31bfb2b1ecf09906824fc37fbef0de6d3672e9b8846df59af7' 
  AND token = 'sFXl1hR7zGl2JPkNWlQ2qqlRoMj2N1pqDgJfI9arXiY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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