SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef8231569dc29506b35bccd7658b1bafa9da74a2c339581e5cd96ccaa4782927' 
  AND token = 'XYJlcxZ/T6jENxNugb3HVCHvNG9UfAOOSOIgbKKkLm8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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