SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '074cdc302fb864e1b7d89f575cfc8227b1c7f0c45affdd73d54d8c49130c80e4' 
  AND token = 'IDlVDpFFZGFhyY2eeSnwNO6ogEtgGvTmfWouh7g6yZQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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