SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f0a844846b333e4556d99fc5b9c23414df5e20e3d14ae810d0cbb194153ffec' 
  AND token = 'smoQ19Q6ZHNYZVNQE2ZC4eANGRFCZ7WILcHkbZMgp6E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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