SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4be381bbaaa5857bd2eed9bab74fb07cf7d648459e314ca391f60cb828a5c9ad' 
  AND token = 'uJjYZOxviXZd0S8/7p1fvvho48pCMnKZt0jLvvWR6mQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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