SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40919558c3dd4185a9584c2c7c4a884c4f6f68770f8aa727e857b732d06c2771' 
  AND token = 'l70aAXD08yqoKkVULAt3cozszLLGW0lubtQOh4SDs9o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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