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

Query time 0.00041

JSON explain

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