SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '802308d4934c1d2afb919122346b2216223971391616337324128738b02ed16f' 
  AND token = '0r2ZZPCIWXHliZLq9WF5QQujHxPCW4236mbyY8us4wo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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