SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '285707fd7575022e530365d2bdac2a559219ce60c773242f073ff223733a375f' 
  AND token = 'YyZK9NweouVCfxCKhPRPAiduKVb/oethDrbs/fy0WYE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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