SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd42e949e587db2b9637a615161512cc287901ace430476542590392eb4c39a80' 
  AND token = 'kTnY2JzxWK35NDjB6AfZHsGbftQI0ReYn+2273O5ynU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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