SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e6517b1ea12eecb59581e84e5b3d1c462d318ecd4ffc131f02c38bdad992b4aa' 
  AND token = 'OiiiQOKTEltwzsqG0jhqktUWlkhVA8pGnVR4U3YF6fo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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