SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '021aa2ce7fe88c9c940d4ae75a01a2c0c55d9a92fd8245eecc0975dfc89506cc' 
  AND token = 'WbNfB2gv/WjalQbZcOqj1XU7uLh/hGOmD2dYx6icBtA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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