SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d1ef434ccc4af342ed8f16c23ba87b2d95023d4a90f112f41c1fe064bf4042e' 
  AND token = '4VjWNBs+8K96Z8R7BIrmrxq9MRrYXeOMkfTBVhhQUws=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}