SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52b45833d16749a981e889eca51cc1622b6757eaf6e23201643a7d9a7af2c581' 
  AND token = 'K8xcNMsD1APAmahg4lij0Pj6ahRCsI21WLKq2wRFOPk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00190

JSON explain

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