SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc8b02ff9aa8ee4240db78b25a1cec5cca6ce96175575cd3191b64361317d739' 
  AND token = 'KFNEVYjjH4Tg6J8Y9LGf+Sd1DVk7cKpAgAbqbofOprU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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