SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52a64121ad7d7797c7cf99c5bfef8977272064d970dc2ec35a04c877d2e32a70' 
  AND token = 'G366et0vnyRm0Z4Rn8v3xCFDHfRbrqmDb1jlSq5KHvQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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