SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a6df667f325486875df172add2828eb5a7e7637fec791021d4784260b60aeeba' 
  AND token = '9GQn8uW4P3N7thxHlT/hlTZ7C7i/IUinepFroG49wmY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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