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

Query time 0.00031

JSON explain

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