SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f8ec1d238631829273d6dcc4c7d3d693f4339f85d2662dea27b2758f87c7ffc' 
  AND token = 'y/GxjfGBUZmyjcnIa4cgxx/9vWvXjO4fs1ZxgmrV0S4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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