SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0791064cb6b07e242005d0de5b7151b3d7834e2c6032836c51bf5d9af5579dda' 
  AND token = 'CCoJS4bajpD07C0K00yIo6qh/lf03eQGPqZQPXenQdE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00270

JSON explain

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