SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd225e93ef5d9563de73ce6fce81d988b5922342c61ade5db968374b3b4aa5e77' 
  AND token = 'W8bi0ABpfk4RLeRtEJFvhmh7VltghrhibapolPqrw2o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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