SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9f77ec62c5ddec00c250c306ac46e325f12c9ade919be795637b1db4023231ec' 
  AND token = 'bVM5AiAi4rq4G7kFr7U60LVIab9znb5ud7m2lnPZmYE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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