SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51888046743fc06c59d2aca3b6b9ddef1c0091674b4128cefffb80827fefb256' 
  AND token = 'AvTbQm9V0KsCKy4dbJq7GAnuGjM6Fmc/qR8Li911VhI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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