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

Query time 0.00030

JSON explain

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