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

Query time 0.00046

JSON explain

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