SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e7fc1ee7831d19678b5fadc8d75ad4aefa9b0d2a35067607f15102fa225b838' 
  AND token = 'zd63HWu/fLl1KGX8e9b8Dsm9FL/Yyt8PYTiMnkJEQuM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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