SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '388e9171ed094fef1d7671b446f3331fec190c304559c958963805839385a008' 
  AND token = 'DVVSn5TQ0OtmIwoBoG5HUd6+o23NR1U8dkHaw1pB6t8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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